
//
//  QZShiftView.m
//  SmallShoppingCenter
//
//  Created by 上官惠阳 on 15/10/15.
//  Copyright (c) 2015年 上官惠阳. All rights reserved.
//

#import "QZShiftView.h"

@implementation QZShiftView

- (void)awakeFromNib {
    // Initialization code
    _sexBtns = @[_manBtn,_womanBtn];
    for (UIButton *btn in _sexBtns) {
        [btn setImage:[UIImage imageNamed:@"椭圆-1"] forState:UIControlStateNormal];
        if (btn == _manBtn) {
            [btn setImage:[UIImage imageNamed:@"男"] forState:UIControlStateSelected];
        }else{
            [btn setImage:[UIImage imageNamed:@"女-1"] forState:UIControlStateSelected];
        }
    }
    _faArr = @[_zhiBtn,_duanBtn,_panBtn,_juanBtn,_bianBtn,_ranBtn,_jieBtn,_jiaBtn,_mingBtn];
    for (UIButton *btn in _faArr) {
        [btn RoundedLayerWithCornerRadius:5 andBorderColor:LightGrayColor andBorderWidth:1];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
